/**
 * MarioItem_OneUp
 * @extends MarioItem
 * @version 2010.11.30
 */

class MarioItem_OneUp extends MarioItem;

/**
 * PostBeginPlay
 * @version 2010.12.04
 */
simulated function PostBeginPlay()
{
	Super.PostBeginPlay();

	SetPhysics(PHYS_Falling);
}

/**
 * DoItemEffect - the responsibility of implementing the item's effect on the player is
 * delegated to this method from MarioItem's Touch event. This item is Destroy()'d immediately
 * following the return from here.
 * @version 2010.12.04
 */
function DoItemEffect(Actor Other, PrimitiveComponent OtherComp, vector HitLocation, vector HitNormal) 
{ 
	`log("1 Life to Mario");	
}

defaultproperties
{
	Begin Object Name=StaticMeshComponent0
		StaticMesh=StaticMesh'MarioMeshes.OneUp'
	End Object
}

